<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<link rel="stylesheet" href="http://localhost/obj/movier/ldf/vmovier/Admin/Tpl/Public/css/inc.css" />
	<link rel="stylesheet" href="http://localhost/obj/movier/ldf/vmovier/Admin/Tpl/Public/css/ico.css" />
	<!--[if IE 7]>
		<link rel="stylesheet" href="http://localhost/obj/movier/ldf/vmovier/Admin/Tpl/Public/css/ico-ie7.css">
	<![endif]-->
	<script type='text/javascript' src='http://localhost/obj/movier/HDPHP/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>

	<script type="text/javascript" src='http://localhost/obj/movier/ldf/vmovier/Admin/Tpl/Public/js/extend.js'></script>
	<script type="text/javascript" src='http://localhost/obj/movier/ldf/vmovier/Admin/Tpl/Article/js/js.js'></script>

	<title>属性列表</title>
</head>
<body class="bgwhite-1">
	<div class="Menu">
		<a href="<?php echo U('tip');?>" class="act"><i class="icon-flag mr3 gray"></i>属性管理</a>
		<a href="<?php echo U('addTip');?>"><i class="icon-plus mr3 gray"></i>添加属性</a>
	</div>
	<div class="p10">
		<form action="<?php echo U('delTip');?>" method="post">
			<div class="">
				<a href="" onclick="return submits();" class="bgwhite p5 dib btc blc brc gray a" /><i class="icon-trash icon-large mr3"></i>删除选中项</a>
			</div>
			<table class="table">
				<tr class=' white fm f14'>
					<th class="pct5 tc"><input id="checkAll" type="checkbox" /></th>
					<th class="pct5 tc">Tid</th>
					<th class="">属性名称</th>
					<th class="pct50 tc">操作</th>
				</tr>
				<?php $hd["list"]["t"]["total"]=0;if(isset($tip) && !empty($tip)):$_id_t=0;$_index_t=0;$lastt=min(1000,count($tip));
$hd["list"]["t"]["first"]=true;
$hd["list"]["t"]["last"]=false;
$_total_t=ceil($lastt/1);$hd["list"]["t"]["total"]=$_total_t;
$_data_t = array_slice($tip,0,$lastt);
if(count($_data_t)==0):echo "";
else:
foreach($_data_t as $key=>$t):
if(($_id_t)%1==0):$_id_t++;else:$_id_t++;continue;endif;
$hd["list"]["t"]["index"]=++$_index_t;
if($_index_t>=$_total_t):$hd["list"]["t"]["last"]=true;endif;?>

					<tr>
						<td class='tc'><input type="checkbox" name="tid[]" value="<?php echo $t['tid'];?>" /></td>
						<td class='tc'><span class="b gray2"><?php echo $t['tid'];?></span></td>
						<td class=''><span name="tname" tid="<?php echo $t['tid'];?>" url="<?php echo U('ajaxSaveTipName');?>" class="<?php echo $t['styleName'];?> ajaxInput"><?php echo $t['tname'];?></span></span></td>
						<td class='tc'>
							<a href="<?php echo U('editTip?tid=');?><?php echo $t['tid'];?>" class="a bgwhite green bdd p5 mr5"><i class="icon-edit icon-border mr3 icon-large"></i>修改</a>
							<a href="<?php echo U('delTip?tid=');?><?php echo $t['tid'];?>" onclick='return del();' class="a bgwhite dels red bdd p5 mr5"><i class="icon-trash icon-border mr3 icon-large"></i>删除</a>
						</td>
					</tr>
				<?php $hd["list"]["t"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
			</table>
		</form>
	</div>
</body>
</html>